package com.techstar.api.pojo.public_transport;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.joda.time.DateTime;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.techstar.common.jackson.DateTimeDeserializer;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 
 * @author EinIce
 * @description 当日行政区OD分布
 * @date 2021年8月6日
 */
@Getter
@Setter
@Entity
@ToString
@Table(name = "taxi_today_district_od")
@org.hibernate.annotations.Table(appliesTo = "taxi_today_district_od",comment="pbtp-4-当日行政区OD分布")
public class TaxiTodayDistrictOd {
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Long id;
	@Column(columnDefinition="varchar(100) COMMENT '本场比较行政区标识'")
	private String localId;
	@Column(columnDefinition="varchar(100) COMMENT '本场比较行政区名称'")
	private String localName;
	@Column(columnDefinition="varchar(100) COMMENT '当前行政区标识'")
	private String distId;
	@Column(columnDefinition="varchar(100) COMMENT '当前行政区名称'")
	private String distName;
	@Column(columnDefinition="varchar(100) COMMENT '当日累计发生量'")
	private String accOutFlow;
	@Column(columnDefinition="varchar(100) COMMENT '当日累计吸引量'")
	private String accInFlow;
	@Column(columnDefinition="varchar(100) COMMENT '标识'")
	private String orderNo;
	@Column(columnDefinition="datetime(0) COMMENT '业务统计时间'")
	@JsonDeserialize(using = DateTimeDeserializer.class)
	private DateTime createTime;
}